|
color10 2.2.1
|
Color10 Click example. More...
Macros | |
| #define | MIKROBUS_POSITION_COLOR10 MIKROBUS_1 |
Functions | |
| void | write_color (void) |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Color10 Click example.
Color 10 Click is carrying a sensor for RGB and IR light sensing as well as the RGB diode incorporated on the board which makes it good color detection device when its combined with a white LED.
The demo application is composed of two sections :
Initialize I2C driver.
This example senses orange, red, pink, purple, blue, cyan, green or yellow color and IR light and print it via UART terminal.
| #define MIKROBUS_POSITION_COLOR10 MIKROBUS_1 |
| void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |
| void write_color | ( | void | ) |